package com.xunyin.modules.membersuser.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.DecimalMax;
import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 会员用户信息 结果对象
 * </p>
 *
 * @author admin
 * @date 2022-10-26
 */
@Data
@ApiModel(description = "会员用户信息")
public class MemberUserVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 会员用户ID
     */
    @ApiModelProperty(value = "会员用户ID")
    private Integer id;

    /**
     * 主体ID
     */
    private Integer mainId;

    /**
     * 主体名称
     */
    private String mainName;

    /**
     * 会员卡id
     */
    private Integer membersId;

    @ApiModelProperty(value = "会员用户剩余享受时长")
    @NotNull(message = "请输入小时价格")
    @DecimalMin(value = "0.00", message = "小时价格不在合法范围内")
    @DecimalMax(value = "99999999.99", message = "小时价格不在合法范围内")
    private BigDecimal membersTimeLength;

    /**
     * 剩余转让次数（一级会员不限次数，二级会员10次）
     */
    private Integer membersTransCount;

    /**
     * 会员用户手机号
     */
    private String memberUserPhone;

    /**
     * 状态
     */
    private String status;

    /**
     * 备注
     */
    private String remark;

    private Integer membersLevel;

    private String membersName;

    private Date updateime;

    /**
     * 删除日期
     */
    private Date deleteTime;

    /**
     * 创建用户ID
     */
    private Integer createUserId;

    /**
     * 更新用户ID
     */
    private Integer updateUserId;

    /**
     * 门店Id
     */
    private String teaHouseIdArray;

    /**
     * 门店名称
     */
    private String teaHouseNameArray;

}
